let app = getApp();
import { baseImgUrl } from "../../setting";
Component({
  mixins: [],
  data: {
    imgBaseUrl: baseImgUrl,
    autoplay: true,  //是否自动切换
    circular: false, //是否启用无限滑动
  },
  props: {
    swiperList: [],
    imgClass: '',
    indicatorDots: true,  //是否显示指示点
  },
  didMount(option) {},
  didUpdate() {},
  didUnmount() {},
  methods: {
    clickTopBanner(e){
      let info = e.currentTarget.dataset.info
      this.props.onParBanner({info: info});
    }
  },
});
